QT       += core gui
QT       += sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    NotificationDialog.cpp \
    foperationwin.cpp \
    fuserswin.cpp \
    informsyswin.cpp \
    main.cpp \
    login.cpp \
    managerswin.cpp \
    part1.c \
    regis.cpp \
    sendmanagewin.cpp \
    sendnotificationdialog.cpp \
    shelfmanagewin.cpp \
    staffwin.cpp \
    users.c \
    usersmanagewin.cpp \
    userswin.cpp \
    sqlite3.c \
    database.c \
    packages.c
HEADERS += \
    NotificationDialog.h \
    foperationwin.h \
    fuserswin.h \
    informsyswin.h \
    login.h \
    managerswin.h \
    part1.h \
    regis.h \
    sendmanagewin.h \
    sendnotificationdialog.h \
    shelfmanagewin.h \
    staffwin.h \
    users.h \
    usersmanagewin.h \
    userswin.h \
    part1.h \
    sqlite3.h \
    database.h \
    packages.h
FORMS += \
    NotificationDialog.ui \
    foperationwin.ui \
    fuserswin.ui \
    informsyswin.ui \
    login.ui \
    managerswin.ui \
    regis.ui \
    sendmanagewin.ui \
    sendnotificationdialog.ui \
    shelfmanagewin.ui \
    staffwin.ui \
    usersmanagewin.ui \
    userswin.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/users.txt
    # MyQtProject.pro
    QT       += core gui      # 添加 Qt 模块
    CONFIG   += c++11         # 启用 C++11
    TARGET    = logistics   # 目标名称
    TEMPLATE  = app           # 应用模板

